import moment from 'moment'

//时间选择后格式化
export const dateChangeFormat = (date: any) => {
  date[0] = moment(date[0]).format('YYYY-MM-DD HH:mm:ss')
  date[1] = moment(date[1]).endOf('day').format('YYYY-MM-DD HH:mm:ss')
}
